
/**
 * Kohive.app.BookmarksController
 * @extends ExtMVC.Controller
 * Manages the addition and removal of bookmarks
 */
Kohive.app.BookmarksController = Ext.extend(
		Kohive.controllers.KohiveController, {
			name		: 'bookmarks',

			constructor	: function(config) {
				var config = config || {};

				// Get the OS and the controller
				var os = ExtMVC.OS.getOS();
				var controller = this;

				Kohive.app.BookmarksController.superclass.constructor.call(
						this, {
							viewsPackage	: Kohive.views.bookmarks
						}
				);

				this.actsAsKohiveController(Kohive.models.Bookmark);
			}
		}
);

ExtMVC.OS.getOS().registerController('bookmarks',
		Kohive.app.BookmarksController
);